<?php
/**
 * 商铺续签管理
*
* @author karl <karl.tang@aiyuangong.com>
* @link http://www.aiyuangong.com
*/

namespace app\admin\controller\store;

use app\admin\Controller;
use think\Lang;
use think\Loader;
use think\Exception;
use think\Request;
use think\Config;

class StoreReopen extends Controller
{
	use \app\admin\traits\controller\Controller;
	protected static $blacklist = ['deleteforever', 'clear'];

	protected function beforeIndex(){
		//状态列表
		$stateList = [
			10	=>	'新申请',
			11	=>	'已付款',
			20	=>	'待付款',
			30	=>	'审核失败',
			31	=>	'付款审核失败',
			40	=>	'开店成功',
		];
		//审核状态
		$auditState = [
			10,11
		];
		//失败状态
		$failState = [
			30,31
		];
		//成功状态
		$successState = [
			40
		];
		$this->view->assign('state_list',$stateList);
		$this->view->assign('audit_state',$auditState);
		$this->view->assign('success_state',$successState);
	}
}